package com.example.service.impl;

import com.example.dao.studentdao;
import com.example.entity.Product;
import com.example.entity.Student;
import com.example.service.studentservice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
/**
*学生表服务实现类
 */
@Service("studentService")
public class studentserviceimpl implements studentservice {

    @Resource
    private studentdao studentDao;
    @Override
    public int insert(Student student) {
        return this.studentDao.insert(student);
    }
}
